Release LSPS2 intercepted HTLCs on open failure#4677
Conversation
When a JIT channel open fails, release queued intercepted HTLCs through the intercept API so they are not held until expiry. Keep resetting the LSPS2 state if an intercept has already been released. Co-Authored-By: HAL 9000 This finding was discovered by Project Loupe
|
I've assigned @wpaulino as a reviewer! |
|
No issues found. The change correctly fixes a real bug: Verified:
|
|
👋 The first review has been submitted! Do you think this PR is ready for a second reviewer? If so, click here to assign a second reviewer. |
|
Backported in #4683. |
When a JIT channel open fails, release queued intercepted HTLCs through the intercept API so they are not held until expiry. Keep resetting the LSPS2 state if an intercept has already been released.
Co-Authored-By: HAL 9000
This finding was discovered by Project Loupe